﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;

namespace CampDay20.Models
{
    public class Student
    {
        public int Id { get; set; }
        [Required]
        public string FirstName { get; set; }
        [Required]
        public string LastName { get; set; }
        public DateTime DateCreated { get; set; }
        public DateTime? DateDeleted { get; set; }
        public GradeLevel Grade { get; set; }

        public virtual List<Essay> Essays { get; set; }
    }

    public enum GradeLevel
    {
        Freshman,
        Sophomore,
        Junior,
        Senior,
        Master,
        DoctoralCandidate,
        Doctor
    }
}